package appapi.entity.bridge.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.time.LocalDateTime;


@Data
@ApiModel(description="每小时统计")
public class HourlyAlarmDataCountVo {
    @ApiModelProperty(value="小时")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime hourlyDataCount; // 每小时数据统计的时间
    @ApiModelProperty(value="次数")
    private int alarmDataCount; // 报警次数


}
